﻿<UserControl x:Class="AllenalaMente.Games.Sword.Target"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="70" d:DesignWidth="70">

    <Canvas x:Name="LayoutRoot">
        <Canvas Name="CanvasTarget">
            <Canvas.RenderTransform>
                <RotateTransform x:Name="rotateTransform" Angle="0" CenterX="30" CenterY="30"></RotateTransform>
            </Canvas.RenderTransform>

            <Image Name="EllipseImg"  Source="/AllenalaMente;component/Assets/Images/Sword/Ball.png" Height="70" Width="70" Canvas.Left="0" Canvas.Top="0" />

            <Ellipse Canvas.Left="0" Canvas.Top="0" Opacity="0.3" Height="70" Name="ellipseTarget" Stroke="Transparent" StrokeThickness="1" Width="70">
                <Ellipse.Fill>
                    <RadialGradientBrush>
                        <GradientStop x:Name="Color1" Color="Lime" Offset="0" />
                        <GradientStop x:Name="Color2" Color="Green" Offset="1" />
                    </RadialGradientBrush>
                </Ellipse.Fill>
            </Ellipse>

            <Canvas Name="canvasBomb" Visibility="Collapsed">
                <Image Canvas.Left="-19" Canvas.Top="-26" Height="125" Name="imageBomb" Stretch="Fill" Width="125" Source="/AllenalaMente;component/Assets/Images/Sword/Bomb.png" />
            </Canvas>
        </Canvas>
        
        <TextBlock Name="TextBlockTarget" Width="70" Height="30" Canvas.Top="20" Text="" TextAlignment="Center" FontWeight="Bold" Foreground="White"></TextBlock>
    </Canvas>
</UserControl>
